package com.zwps.biz.api.enums;

import com.zwps.common.tool.enums.InterfaceEnum;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum FileClassEnum implements InterfaceEnum<String> {

    FILE("0", "文件"),
    IMAGE("1", "图片"),
    MUSIC("2", "音频"),
    VIDEO("3", "视频"),
    DOCUMENT("4", "文档"),
    ;

    /**
     * 编码
     */
    private String code;

    /**
     * 名称
     */
    private String name;

    @Override
    public String getTypeName() {
        return "文件存储类型";
    }
}
